package com.subaiqiao.yunshiyuan.entrance.ysy.service;

import com.subaiqiao.yunshiyuan.basis.service.IBasisService;
import com.subaiqiao.yunshiyuan.entrance.ysy.pojo.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 曹朝禹
 * @since 2022-05-13
 */
public interface UserInfoService extends IBasisService<UserInfo> {

    Integer FindUserCount();
    Integer FindUserDisabledCount();
    Integer FindUserYesterdayRegister();
    void UpdateToken(String token,Integer Id);
    UserInfo RootLogin(String username, String password);
    UserInfo Login(String username, String password);
    UserInfo ChangePasswordByOldPassword(String username, String oldPassword, String newPassword);
    UserInfo ChangePasswordByPhone(String username, String phone, String ViefCode, String newPassword);
    UserInfo ViefLogin(String Phone, String ViefCode);

}
